<?php
class Page {
	private $__config;
	
	function __construct($config){
		$this->__config = &$config;
	}
	
	function __destruct(){
		
	}
	
	public function toString(){
		return '
		<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
		<html xmlns="http://www.w3.org/1999/xhtml">
		
		<head>
		<script type="text/javascript" src="js/jquery.min.js" charset="utf-8"></script>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link rel="stylesheet" type="text/css" href="http://91.207.192.31/static/4/test.css"/>
		</head>
		<body style="margin: 0">
			<div style="height:1px;width: 100%;" align="center"></div>
			<div style="height:1px;width: 100%;" align="center"><div id="pager"></div></div>
			<div id="frameContainer" style="height:100%;width: 100%;" align="center">
				<iframe rel="nofollow" name="webframe" id="webframe" src="'.$_GET['url'].'" 
								width="100%" height="100%" style="width: 100%;height:100%" frameborder="0" scrolling="auto"></iframe>
			</div>
			<script>
				function checkSize(){
				   var sshowcase = $(\'#frameContainer\');
				   h = $(window).height();
				   h = h - 2;
				   sshowcase.css(\'height\', h+\'px\');
				   window.onresize = checkSize;
				}
				
				checkSize();
			</script>
		</body>

	</html>';
	}
}


?>